<!doctype html>
<html lang="en">
  <head>
    <title>就诊人管理</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  </head>
  <body  >
      
    <!-- 组件1：导航栏  b4-navbar
        颜色：  背景颜色     字体颜色
        背景  bg-颜色
        字体颜色  text-颜色
        按钮颜色   btn-颜色
        颜色：  danger--红色    warning----黄色   success---绿色
        primary---蓝色   info---浅蓝色   light---白色   dark---黑色
        sencodary---灰色
    -->
    <nav class="navbar navbar-expand-md  navbar-dark" style="background-color: #0991f3;">
        <a class="navbar-brand" href="#">林科大校医 🏥 </a>
        <div class="collapse navbar-collapse" id="collapsibleNavId">
            <!-- 在这个导航栏中定义每一个选项 -->
            <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
                <!-- 一个选项就是一个li标签 -->
                <li class="nav-item active ml-3">
                    <a class="nav-link" href="#">首页<span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item ml-3">
                    <a class="nav-link" href="#">医院概况</a>
                </li>
                <!-- 有下拉选项的li标签 -->
                <li class="nav-item dropdown ml-3">
                    <a class="nav-link dropdown-toggle" href="#" id="dropdownId" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">医院新闻</a>
                   <!-- 下拉选项的值 -->
                    <div class="dropdown-menu" aria-labelledby="dropdownId">
                        <a class="dropdown-item" href="#">医院要闻</a>
                        <a class="dropdown-item" href="#">通知</a>
                        <a class="dropdown-item" href="#">公告</a>
                        <a class="dropdown-item" href="#">人物专访</a>
                    </div>
                </li>
                <li class="nav-item dropdown ml-3">
                    <a class="nav-link dropdown-toggle" href="#" id="dropdownId" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">医疗服务</a>
                   <!-- 下拉选项的值 -->
                    <div class="dropdown-menu" aria-labelledby="dropdownId">
                        <a class="dropdown-item" href="#">门诊排班</a>
                        <a class="dropdown-item" href="#">预约挂号</a>
                        <a class="dropdown-item" href="#">住院须知</a>
                        <a class="dropdown-item" href="#">医保专区</a>
                    </div>
                </li>
            </ul>
            <form class="form-inline my-2 my-lg-0">
                <input class="form-control mr-sm-2" type="text" placeholder="Search">
                <button class="btn btn-success my-2 my-sm-0" type="submit">Search</button>
            </form>
        </div>
    </nav>

    <!-- 组件2：展板 b4-jum -->
    <div class="jumbotron jumbotron-fluid py-3">
        <div class="container">
            <!-- dispaly-1/5:表示字体大小 -->
            <h1 class="display-4">线上挂号系统</h1>
            <p class="lead">林科大校医</p>
        </div>
            <!-- 可以添加其他的内容包括组件  面包屑导航  b4-bread -->
            <!-- 可以添加其他的内容包括组件  面包屑导航  b4-bread -->
        <nav class="breadcrumb">
            <a class="breadcrumb-item" href="mian.html">科室导航</a>
            <a class="breadcrumb-item" href="YSsheduling.html">医生排班</a>
            <span class="breadcrumb-item active">就诊人管理</span>
            <a class="breadcrumb-item" href="myyuyue.html">我的预约信息</a>
        </nav>
    </div>
    <!-- 核心部分 -->
    <div class="container">
        <h1 class="font-weight-light h2 mb-4 offset-1">就诊人管理</h1>
        <!-- 第一行 -->
        <div class="row mb-3 offset-1">
            <div>
                <!-- Button trigger modal -->
                <button type="button" class="btn btn-success btn-lg" data-toggle="modal" data-target="#modelId">
                    新增就诊人
                </button>
                <!-- Modal -->
                <div class="modal fade" id="modelId" tabindex="-1" role="dialog" aria-labelledby="modelTitleId" aria-hidden="true">
                    <div class="modal-dialog" role="document">
                        <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title">新增就诊人</h5>
                                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                            <span aria-hidden="true">&times;</span>
                                        </button>
                                </div>
                            <!-- modal-header模态框主体内容 -->
                            <div class="modal-body">
                                <div class="container-fluid">
                                    <div class="form-group">
                                      <div class="row mt-2">
                                        <label for="name1" class="col-md-3">姓名</label>
                                        <input type="text" class="form-control col-md-7" name="name" id="name1" aria-describedby="helpId" placeholder="请输入姓名">
                                      </div>
                                      <div class="row mt-2">
                                        <label for="idcard1" class="col-md-3">身份证号</label>
                                        <input type="text" class="form-control col-md-7" name="idcard" id="idcard1" aria-describedby="helpId" placeholder="请输入身份证号">
                                      </div>
                                      <div class="row mt-2">
                                        <label for="phone1" class="col-md-3">手机号</label>
                                        <input type="text" class="form-control col-md-7" name="phone" id="phone1" aria-describedby="helpId" placeholder="请输入手机号">
                                      </div>
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                                <button type="button" class="btn btn-primary">添加</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <script>
                    $('#exampleModal').on('show.bs.modal', event => {
                        var button = $(event.relatedTarget);
                        var modal = $(this);
                        // Use above variables to manipulate the DOM
                        
                    });
                </script>
  
            </div>
        </div>
        <!-- 第二行显示一个表格 -->
        <div class="row">
            <!-- table-striped斑马条纹，table-hover选中后出现灰色 -->
            <table class="table table-striped table-hover offset-1 col-md-10">
                <thead>
                    <tr>
                        <th>姓名</th>
                        <th>身份证号</th>
                        <th>手机号</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                   <tr>
                       <td>张三</td>
                       <td>430181199811039876</td>
                       <td>13323455678</td>
                       <td>
                           <button class="btn btn-warning">编辑</button>
                           <button class="btn btn-danger">删除</button>
                       </td>
                   </tr>
                   <tr>
                        <td>李四</td>
                        <td>430181199811039876</td>
                        <td>13323455678</td>
                        <td>
                            <button class="btn btn-warning">编辑</button>
                            <button class="btn btn-danger">删除</button>
                        </td>
                    </tr>
                    <tr>
                        <td>王五</td>
                        <td>430181199811039876</td>
                        <td>13323455678</td>
                        <td>
                            <button class="btn btn-warning">编辑</button>
                            <button class="btn btn-danger">删除</button>
                        </td>
                    </tr>
                </tbody>
            </table>
    </div>
    
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  </body>
</html>